package com.ipay.wechat.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ipay.wechat.dao.TPayresultDao;
import com.ipay.wechat.pojo.TPayresultEntity;
import com.ipay.wechat.service.TPayresultService;



@Service("tPayresultService")
public class TPayresultServiceImpl implements TPayresultService {
	@Autowired
	private TPayresultDao tPayresultDao;
	
	@Override
	public TPayresultEntity queryObject(Integer id){
		return tPayresultDao.queryObject(id);
	}
	
	@Override
	public List<TPayresultEntity> queryList(Map<String, Object> map){
		return tPayresultDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tPayresultDao.queryTotal(map);
	}
	
	@Override
	public void save(TPayresultEntity tPayresult){
		tPayresultDao.save(tPayresult);
	}
	
	@Override
	public void update(TPayresultEntity tPayresult){
		tPayresultDao.update(tPayresult);
	}
	
	@Override
	public void delete(Integer id){
		tPayresultDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tPayresultDao.deleteBatch(ids);
	}
	
}
